home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Bomber Fortress.swf / scripts / DefineButton2_110 / BUTTONCONDACTION on(keyPress 4).as
Encoding:
Text File  |  2006-06-13  |  228 b   |  15 lines

  1. on(keyPress "4"){
  2.    if(eval("/:drop4") < "1")
  3.    {
  4.       tellTarget("/4")
  5.       {
  6.          gotoAndPlay(2);
  7.       }
  8.       set("/:drop4","1");
  9.    }
  10.    tellTarget("/display/hatch4")
  11.    {
  12.       gotoAndStop(2);
  13.    }
  14. }
  15.